<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page import="com.opensymphony.xwork2.ActionContext"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><script charset="utf-8" src="js/v.js"></script>
<meta http-equiv="X-UA-Compatible" content="IE=10;IE=9;IE=8;IE=7;IE=EDGE">
<meta charset="utf-8">

<title>邮箱验证-永川软件园人才网</title>

<script async="" src="js/a.js"></script><script async="" src="js/analytics.js"></script>
<link rel="stylesheet" type="text/css" href="css/style.css">
<link rel="stylesheet" type="text/css" href="css/external.min.css">
<link rel="stylesheet" type="text/css" href="css/popup.css">
<script src="js/jquery.1.10.1.min.js" type="text/javascript"></script>
<script type="text/javascript" src="js/jquery.lib.min.js"></script>
<script type="text/javascript" src="js/additional-methods.js"></script>

<script src="js/stringifyJSON.min.js" class="lazyload" charset="utf-8"></script><link href="css/loginPop.css" rel="stylesheet" class="lazyload" charset="utf-8">
</head>
<!-- <script type="text/javascript">
	if($.cookie("emailCheck")!=0){
		window.location.href="index.jsp";
	}
</script> -->
<body>

<div id="body">
	<!-- begin #header -->
			<jsp:include page="header.jsp" flush="true" />
		<!-- end #header -->
    <div id="container">
        	<div class="content_mid">
        <!--验证邮箱-->
        	<dl class="c_section c_section_mid">
                <dt>
                    <h2><em></em>注册邮箱验证</h2>
                </dt>
                <dd class="c_notice bb bind_height"> 
                    <h4>验证邮箱，完成注册</h4>
                    <div class="emailus">
                    	我们已将验证邮件发送至邮箱：<a id="email_user">790185280@qq.com</a> <br>
						点击邮件内的链接即可完成注册，并可使用永川软件园人才网所有功能。
                    </div>
                                        <a href="https://mail.qq.com/" class="btn_big" target="_blank">登录邮箱验证</a>
                    				</dd>
                   	<script type="text/javascript">
						if($.cookie("jrqUserName")!=null){
							$("#email_user").html($.cookie("jrqUserName"));
						}
					</script>			
                <dd class="c_notice">
                 	<h5>没有收到验证邮件，怎么办？</h5>
                   	<div class="contacttip">
                    	邮箱填写错误？ <a href="register.jsp">换个邮箱</a> <br>
						看看是否在邮箱的垃圾邮件、广告邮件目录里<br>
						稍等几分钟，若还未收到验证邮件， <a href="javascript:void(0)" id="resend">重新发送验证邮件</a>
					</div>
                </dd>
            </dl>   

<div id="qr_cloud" class="dn">
	<div class="cloud">
		<img src="" width="134" height="134">
		<a href="javascript:;" class="close"></a>
		<a href="javascript:;" class="close_btn"></a>
	</div>
</div>
<script src="js/colorbox.min.js"></script>
<script src="js/register_active.js"></script>
			<div class="clear"></div>
			<input type="hidden" id="resubmitToken" value="">
	    	<a id="backtop" title="回到顶部" rel="nofollow"></a>
	    </div><!-- end #container -->
	</div><!-- end #body -->
	<!-- begin #footer -->
	<jsp:include page="footer.jsp" flush="true" />
	<!-- end #footer -->
<script type="text/javascript">
	$("#resend").click(function(){
		$.ajax({  
	       type : 'post',  
	       url : 'sendEmail.action',  
	       dataType : 'json',  
	       data :  {"email":""+$.cookie("jrqUserName"),"flag":"login"},
	  	   success : function (result) {
	  	   	   if(result.errcode==0){
	  	   	   		delayURL("验证邮件发送成功，请登录邮箱查看验证！","3","https://mail.qq.com/cgi-bin/loginpage");
	  	   	   }else if(result.errcode==40011){
	  	   	   		delayURL("请输入正确的邮箱格式！","3","");
	  	   	   }else if(result.errcode==40010){
	  	   	   		delayURL("邮箱还未在永川软件园人才网进行注册","3","register.jsp");
	  	   	   }else{
	  	   	   		delayURL("邮件发送失败！","3","");
	  	   	   }
	  	   	  
	       },  
	       error : function () {  
	    	    delayURL("永川软件园人才网接口失联啦，码农门正抓紧修复！","3","");
	       		return;
	       }  
	    });
	});
</script>

<script type="text/javascript" src="js/core.min.js"></script>
<script type="text/javascript" src="js/popup.js"></script>
<script defer="" async="" id="_lgpassport_" data-css-site="1" data-css-popup="1" src="js/passport.js" onload="passportInit()"></script>

<script type="text/javascript" src="js/tongji.js"></script>
<script type="text/javascript" src="js/analytics(1).js"></script><script src="js/h.js" type="text/javascript"></script>

	</div><div id="cboxOverlay" style="display: none;"></div><div id="colorbox" class="" role="dialog" tabindex="-1" style="display: none;"><div id="cboxWrapper"><div><div id="cboxTopLeft" style="float: left;"></div><div id="cboxTopCenter" style="float: left;"></div><div id="cboxTopRight" style="float: left;"></div></div><div style="clear: left;"><div id="cboxMiddleLeft" style="float: left;"></div><div id="cboxContent" style="float: left;"><div id="cboxTitle" style="float: left;"></div><div id="cboxCurrent" style="float: left;"></div><button type="button" id="cboxPrevious"></button><button type="button" id="cboxNext"></button><button id="cboxSlideshow"></button><div id="cboxLoadingOverlay" style="float: left;"></div><div id="cboxLoadingGraphic" style="float: left;"></div></div><div id="cboxMiddleRight" style="float: left;"></div></div><div style="clear: left;"><div id="cboxBottomLeft" style="float: left;"></div><div id="cboxBottomCenter" style="float: left;"></div><div id="cboxBottomRight" style="float: left;"></div></div></div><div style="position: absolute; width: 9999px; visibility: hidden; display: none;"></div></div></body></html>